package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class ZhaTest {
    public static void main(String[] args) {
        int a=12,b=20;

        Zhazhiji zh=new Zhazhiji();
        zh.price=499;
        zh.watt=50;
        zh.brand="九阳";
        zh.show();
        System.out.println(">>>>>>>>>>>>");
        String f="桔子";
        String r=zh.makeJuice(f);//接收方法的返回值
        System.out.println("老刘喝到了"+r);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        r= zh.makeJuice("苹果");
        System.out.println("老刘喝到了"+r);
        System.out.println("******************");
        System.out.println("老刘喝到了 "+zh.makeJuice("菠萝"));
    }
}
